﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace elr_tracking_bal.CATALM
{
    public class Almacen : INotifyPropertyChanged
    {
        private int _ID_ALMACEN;
        private string _ALMACEN;
        private string _CONTACTO;
        private string _TECNICO;
        private GEO.Ciudad _CIUDAD;
        private string _DIRECCION;

        public int ID_ALMACEN
        {
            get
            {
                return _ID_ALMACEN;
            }
            set
            {
                if (_ID_ALMACEN != value)
                {
                    _ID_ALMACEN = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("ID_ALMACEN"));
                    }
                }
            }
        }

        public string ALMACEN
        {
            get
            {
                return _ALMACEN;
            }
            set
            {
                if (_ALMACEN != value)
                {
                    _ALMACEN = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("ALMACEN"));
                    }
                }
            }
        }

        public string CONTACTO
        {
            get
            {
                return CONTACTO;
            }
            set
            {
                if (_CONTACTO != value)
                {
                    _CONTACTO = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("CONTACTO"));
                    }
                }
            }
        }

        public string TECNICO
        {
            get
            {
                return _TECNICO;
            }
            set
            {
                if (_TECNICO != value)
                {
                    _TECNICO = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("TECNICO"));
                    }
                }
            }
        }

        public string DIRECCION
        {
            get
            {
                return _DIRECCION;
            }
            set
            {
                if (_DIRECCION != value)
                {
                    _DIRECCION = value;
                    if (this.PropertyChanged != null)
                    {
                        this.PropertyChanged(this, new PropertyChangedEventArgs("DIRECCION"));
                    }
                }
            }
        }

        public event PropertyChangedEventHandler PropertyChanged;
    }
}
